package com.zjl.spring.exception;


import com.zjl.spring.enums.BaseCode;

/*
 * 参数检验异常类
 *
 * @Author zhuangjl
 * @Date 2021/11/11 16:45
 **/
public class ParamException extends BaseBizException {

    private static final long serialVersionUID = 1L;

    public ParamException() {
        super(BaseCode.PARAM_MISSING.getDesc());
        this.setBaseCode(BaseCode.PARAM_MISSING);
    }

    public ParamException(String message) {
        super(message);
        this.setBaseCode(BaseCode.PARAM_MISSING);
    }
}
